<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="../../day03_jQuery/script/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
    $(function () {
        //1.匹配id为btnId的标签
        //console.log($("#btnId"));
        //2.匹配class为tab的标签
        //console.log($(".tab"));
        //3.匹配标签名为button
        //console.log($("button"));
        //4.全局选择器
        //console.log($("*"));
        //5.群组选择器 匹配id为btnId和标签div
        console.log($("#btnId,div"));
    });
    </script>
</head>
<body>
<div></div>
<button id="btnId">按钮</button>
<button name="btn">按钮1</button>
<button class="tab">按钮2</button>
</body>
</html>